---
const response = await fetch('https://owen-wilson-wow-api.herokuapp.com/wows/random');
const data = await response.json();
---
<h1>Using an API</h1>
<p>
  With native fetch built-in, Astro makes it easy
  to work with data from any API.
  Powered by https://owen-wilson-wow-api.herokuapp.com.
</p>
<audio controls>
  <source src={data.audio} type="audio/mpeg">
</audio>